package com.mg.upload.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

/**
 * 视频管理
 */
@Data
@TableName(value = "tb_video_manage")
public class VideoManage {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.INPUT)
    private Integer id;

    /**
     * 视频名
     */
    @TableField(value = "`name`")
    private String name;

    /**
     * 点赞数
     */
    @TableField(value = "likes")
    private Integer likes;

    /**
     * 评论数
     */
    @TableField(value = "com_number")
    private Integer comNumber;

    /**
     * 转发数
     */
    @TableField(value = "`forward`")
    private Integer forward;

    /**
     * 状态
     */
    @TableLogic(value = "1",delval = "0")
    @TableField(value = "`status`")
    private Integer status;

    /**
     * 收藏数
     */
    @TableField(value = "favorites")
    private Integer favorites;

    public static final String COL_ID = "id";

    public static final String COL_NAME = "name";

    public static final String COL_LIKES = "likes";

    public static final String COL_COM_NUMBER = "com_number";

    public static final String COL_FORWARD = "forward";

    public static final String COL_STATUS = "status";

    public static final String COL_FAVORITES = "favorites";
}